﻿using Framework.Models.Entities;
using Framework.Models.Request;
using Framework.Utility.ViewModels; 

namespace Flow.Manage.Contracts
{
    public interface IAccountContract
    {
        /// <summary>
        /// 管理员登录
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        TData<Biz_User> AdminLogin(AdminRequest dto);
        /// <summary>
        /// 新增用户
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        TData AddUser(Biz_UserRequest dto);
    }
}
